#pragma once
#include "qwindow.h"
 



namespace micro{
namespace gui{	 
 	
	
class  QWindowPos
{
		HDWP m_hdwp;
public:
		QWindowPos(  int nWindows = 1 );
		~QWindowPos();

		void MoveWindow(HWND hWnd, int x, int y, int nWidth, int nHeight, bool bRepaint  = true );
		void MoveWindow(HWND hWnd, QRect rc, bool bRepaint  = true );
		 
private:
	 	void SetWindowPos(HWND hWnd, HWND hWndAfter, int x, int y, int nWidth, 	int nHeight, UINT uFlags);
		//void MoveWindow(QWindow& win, int x, int y, int nWidth, int nHeight, bool bRepaint);
		//void SetWindowPos(QWindow& win, QWindow& win2, int x, int y, int nWidth, 	int nHeight, UINT uFlags);
	 
  
};


   

 
}}